from django.urls import path
from . import views

urlpatterns = [
    path('', views.CartAPIView.as_view({"post": "add_cart",
                                        "get": "get_cart",
                                        'put': "change_selected_status",
                                        'delete': "del_cart",
                                        'patch': 'change_expire'})),
    path('selected/', views.CartAPIView.as_view({
        "get": "get_selected_course"
    }))
]
